package com.java.service.impl;

import com.java.entity.PsFunction;
import com.java.mapper.PsFunctionMapper;
import com.java.service.PsFunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/13 10:14 Dream-Seeker
 * @Description
 */
@Service
public class PsFunctionServiceImpl implements PsFunctionService {
    @Autowired
    PsFunctionMapper psFunctionMapper;

    @Override
    public List<PsFunction> getPerbyRoleId(Integer id) {
        return psFunctionMapper.getPerbyRoleId(id);
    }
}
